package com.taotao.dto;

/**
 * EasyUIResult
 * EasyUI传输对象
 * Created by heqianqian on 2017/7/6.
 */
public class EasyUIResult<T> {

    private int total;

    private T rows;

    public EasyUIResult() {
    }

    public EasyUIResult(int total, T rows) {
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public T getRows() {
        return rows;
    }

    public void setRows(T rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "EasyUIResult{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }
}
